home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 May / CMCD0505.ISO / Software / Demo / DesktopX / objects / Rubicon_meters.dxpack / {1A0FF23C-DA2D-47B7-B6B6-ABA76B3C9473}.DXScript2 < prev    next >
Extensible Markup Language  |  2004-01-29  |  989b  |  23 lines

  1. <?xml version="1.0"?>
  2. <!--DXScript Data File.  Version 2.0-->
  3. <DXScript>
  4.     <Script><![CDATA['Called when the script is executed
  5. Sub Object_OnScriptEnter
  6.  
  7. End Sub
  8. Sub Object_OnStateChange(state)
  9.     If State = "Command executed" Then
  10.         obj=Left(Object.Name,4)
  11.         If DesktopX.Object(obj).Visible=True Then
  12.             DesktopX.Object(obj).Visible=False
  13.         Else
  14.             DesktopX.Object(obj).Visible=True
  15.         End If
  16.     End If
  17. End Sub
  18. 'Called when the script is terminated
  19. Sub Object_OnScriptExit
  20.  
  21. End Sub
  22. ]]></Script><Globals><Editor><PropPane>0</PropPane><EditorLeft>280</EditorLeft><EditorTop>250</EditorTop><EditorRight>1190</EditorRight><EditorBottom>826</EditorBottom></Editor><Object><LanguageCLSID>{B54F3741-5B07-11CF-A4B0-00AA004A55E8}</LanguageCLSID><ControlCLSID>{00000000-0000-0000-0000-000000000000}</ControlCLSID><ControlObjWidth>64</ControlObjWidth><ControlObjHeight>64</ControlObjHeight><RunState>1</RunState><ScriptHostVersion>2</ScriptHostVersion></Object></Globals></DXScript>
  23.